<?xml version='1.0' encoding='UTF-8' ?>
<html xmlns="http://www.w3.org/1999/xhtml"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:a4j="http://richfaces.org/a4j"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:rich="http://richfaces.org/rich">
<!-- dodawanie sklepu -->
<a4j:jsFunction name="ajaxSubmit" oncomplete="#{rich:component('panel1modal')}.show()" reRender="panel1modal" />
    <rich:modalPanel id=panel1modal width="400" height="80" showWhenRendered="#{zak.paneldodawanie}">
        <f:facet name="header">
            <h:panelGroup>#{zak.modaltytul}</h:panelGroup>
        </f:facet>
<a4j:form >
   <h:panelGrid columns="3">
   	<h:outputText value="Nazwa :" /><!-- <h:inputText id="form_cena" value="#{zak.strSklepModal}" /> -->
   	<h:inputText id="form_cena_" value="#{zak.strModal}" />
   	<a4j:commandButton  reRender="form_cena,sklepy,panel3" id="dodajogloszenie" action="#{zak.dodajsklepprzycisk}" value="Dodaj" title="dodaj ogłoszenie"/>
   </h:panelGrid>
</a4j:form>
        <f:facet name="controls">
            <h:panelGroup>
            	<h:commandButton id="hidelink1sklep__" value="X"/><rich:componentControl for="panel1modal" attachTo="hidelink1sklep__" operation="hide" event="onclick"/>
            </h:panelGroup>
        </f:facet>
    </rich:modalPanel>
<!-- KONIEC dodawanie sklepu -->
</html>